package bean;

import java.util.ArrayList;
import java.util.List;

public class MatHang extends Master {

    private int matHangID;
    private String maMH;
    private int loaiHangID;
    private String mau;
    private float giaNhap;
    private String ghiChu;
    private Integer trangThai;
    private LoaiHang loaiHang;
    private List<ChiTietNhapHang> chiTietNhapHangs = new ArrayList<ChiTietNhapHang>();
    private List<ChiTietDatHang> chiTietDatHangs = new ArrayList<ChiTietDatHang>();
    private List<MatHangTheoSize> matHangTheoSizes = new ArrayList<MatHangTheoSize>();

    public MatHang() {
    }

    public int getMatHangID() {
        return matHangID;
    }

    public void setMatHangID(int matHangID) {
        this.matHangID = matHangID;
    }

    public String getMaMH() {
        return maMH;
    }

    public void setMaMH(String maMH) {
        this.maMH = maMH;
    }

    public int getLoaiHangID() {
        return loaiHangID;
    }

    public void setLoaiHangID(int loaiHangID) {
        this.loaiHangID = loaiHangID;
    }

    public String getMau() {
        return mau;
    }

    public void setMau(String mau) {
        this.mau = mau;
    }

    public float getGiaNhap() {
        return giaNhap;
    }

    public void setGiaNhap(float giaNhap) {
        this.giaNhap = giaNhap;
    }

    public String getGhiChu() {
        return ghiChu;
    }

    public void setGhiChu(String ghiChu) {
        this.ghiChu = ghiChu;
    }

    public Integer getTrangThai() {
        return trangThai;
    }

    public void setTrangThai(Integer trangThai) {
        this.trangThai = trangThai;
    }

    public LoaiHang getLoaiHang() {
        return loaiHang;
    }

    public void setLoaiHang(LoaiHang loaiHang) {
        this.loaiHang = loaiHang;
    }

    public List<ChiTietNhapHang> getChiTietNhapHangs() {
        return chiTietNhapHangs;
    }

    public void setChiTietNhapHangs(List<ChiTietNhapHang> chiTietNhapHangs) {
        this.chiTietNhapHangs = chiTietNhapHangs;
    }

    public List<ChiTietDatHang> getChiTietDatHangs() {
        return chiTietDatHangs;
    }

    public void setChiTietDatHangs(List<ChiTietDatHang> chiTietDatHangs) {
        this.chiTietDatHangs = chiTietDatHangs;
    }

    public List<MatHangTheoSize> getMatHangTheoSizes() {
        return matHangTheoSizes;
    }

    public void setMatHangTheoSizes(List<MatHangTheoSize> matHangTheoSizes) {
        this.matHangTheoSizes = matHangTheoSizes;
    }
}
